package cn.samler.shopapi.Model.Response.Goods;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
public class GoodsBrief {
    // 商品id
    private Integer id;

    // 商品名称
    private String name;

    // 商品默认图片地址
    private String image;

    // 商品价格
    private Double price;

    // 商品数量
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer number;
}
